﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000191 RID: 401
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class CEKLMNGKDNM : IMessage<CEKLMNGKDNM>, IMessage, IEquatable<CEKLMNGKDNM>, IDeepCloneable<CEKLMNGKDNM>, IBufferMessage
	{
		// Token: 0x17000542 RID: 1346
		// (get) Token: 0x06001200 RID: 4608 RVA: 0x00033AFC File Offset: 0x00031CFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<CEKLMNGKDNM> Parser
		{
			get
			{
				return CEKLMNGKDNM._parser;
			}
		}

		// Token: 0x17000543 RID: 1347
		// (get) Token: 0x06001201 RID: 4609 RVA: 0x00033B03 File Offset: 0x00031D03
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return CEKLMNGKDNMReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000544 RID: 1348
		// (get) Token: 0x06001202 RID: 4610 RVA: 0x00033B15 File Offset: 0x00031D15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return CEKLMNGKDNM.Descriptor;
			}
		}

		// Token: 0x06001203 RID: 4611 RVA: 0x00033B1C File Offset: 0x00031D1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CEKLMNGKDNM()
		{
		}

		// Token: 0x06001204 RID: 4612 RVA: 0x00033B24 File Offset: 0x00031D24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CEKLMNGKDNM(CEKLMNGKDNM other) : this()
		{
			this.formulaId_ = other.formulaId_;
			this.kMECILIGBIK_ = other.kMECILIGBIK_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001205 RID: 4613 RVA: 0x00033B55 File Offset: 0x00031D55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CEKLMNGKDNM Clone()
		{
			return new CEKLMNGKDNM(this);
		}

		// Token: 0x17000545 RID: 1349
		// (get) Token: 0x06001206 RID: 4614 RVA: 0x00033B5D File Offset: 0x00031D5D
		// (set) Token: 0x06001207 RID: 4615 RVA: 0x00033B65 File Offset: 0x00031D65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FormulaId
		{
			get
			{
				return this.formulaId_;
			}
			set
			{
				this.formulaId_ = value;
			}
		}

		// Token: 0x17000546 RID: 1350
		// (get) Token: 0x06001208 RID: 4616 RVA: 0x00033B6E File Offset: 0x00031D6E
		// (set) Token: 0x06001209 RID: 4617 RVA: 0x00033B76 File Offset: 0x00031D76
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KMECILIGBIK
		{
			get
			{
				return this.kMECILIGBIK_;
			}
			set
			{
				this.kMECILIGBIK_ = value;
			}
		}

		// Token: 0x0600120A RID: 4618 RVA: 0x00033B7F File Offset: 0x00031D7F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as CEKLMNGKDNM);
		}

		// Token: 0x0600120B RID: 4619 RVA: 0x00033B8D File Offset: 0x00031D8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(CEKLMNGKDNM other)
		{
			return other != null && (other == this || (this.FormulaId == other.FormulaId && this.KMECILIGBIK == other.KMECILIGBIK && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600120C RID: 4620 RVA: 0x00033BCC File Offset: 0x00031DCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.FormulaId != 0U)
			{
				num ^= this.FormulaId.GetHashCode();
			}
			if (this.KMECILIGBIK != 0U)
			{
				num ^= this.KMECILIGBIK.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600120D RID: 4621 RVA: 0x00033C24 File Offset: 0x00031E24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600120E RID: 4622 RVA: 0x00033C2C File Offset: 0x00031E2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600120F RID: 4623 RVA: 0x00033C38 File Offset: 0x00031E38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.FormulaId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.FormulaId);
			}
			if (this.KMECILIGBIK != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.KMECILIGBIK);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001210 RID: 4624 RVA: 0x00033C94 File Offset: 0x00031E94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.FormulaId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FormulaId);
			}
			if (this.KMECILIGBIK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KMECILIGBIK);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001211 RID: 4625 RVA: 0x00033CEC File Offset: 0x00031EEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CEKLMNGKDNM other)
		{
			if (other == null)
			{
				return;
			}
			if (other.FormulaId != 0U)
			{
				this.FormulaId = other.FormulaId;
			}
			if (other.KMECILIGBIK != 0U)
			{
				this.KMECILIGBIK = other.KMECILIGBIK;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001212 RID: 4626 RVA: 0x00033D3C File Offset: 0x00031F3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001213 RID: 4627 RVA: 0x00033D48 File Offset: 0x00031F48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 64U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.KMECILIGBIK = input.ReadUInt32();
					}
				}
				else
				{
					this.FormulaId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400077A RID: 1914
		private static readonly MessageParser<CEKLMNGKDNM> _parser = new MessageParser<CEKLMNGKDNM>(() => new CEKLMNGKDNM());

		// Token: 0x0400077B RID: 1915
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400077C RID: 1916
		public const int FormulaIdFieldNumber = 7;

		// Token: 0x0400077D RID: 1917
		private uint formulaId_;

		// Token: 0x0400077E RID: 1918
		public const int KMECILIGBIKFieldNumber = 8;

		// Token: 0x0400077F RID: 1919
		private uint kMECILIGBIK_;
	}
}
